﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using AD.Model;
using AD.BLL;
public partial class Manager_User_PageData_Shops : WebManagerForm
{
    public NetShopMod NetShop = new NetShopMod();
    protected void Page_Load(object sender, EventArgs e)
    {
        string idstr = Request.QueryString["id"];
        NetShopMod tmp = NetShopsBLL.QueryById(idstr);
        if (tmp != null)
        {
            UserMod user = UserBLL.QueryById(tmp.UserId);
            if (user != null)
                tmp.User = user;
            NetShop = tmp;
        }
    }
}